#define _CRT_SECURE_NO_WARNINGS 1

#include "SList.h"

int main()
{
	SLTNode* plist = NULL;
	SLTPushBack(&plist, 5);
	SLTPushBack(&plist, 6);
	SLTPushBack(&plist, 7);
	SLTPushBack(&plist, 8);
	SLTPrint(plist);

	SLTPushFront(&plist, 10);
	SLTPushFront(&plist, 12);
	SLTPushFront(&plist, 15);
	SLTPushFront(&plist, 20);
	SLTPrint(plist);


	SLTPopBack(&plist);
	SLTPrint(plist);

	SLTPopFront(&plist);
	SLTPrint(plist);
	return 0;
}